package com.intellagric.agriecom.controller.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    /**
     * 电商首页访问路径
     */
    @RequestMapping("/agriecom")
    public String showIndex() {
        return "index";
}

    /**
     * 产品详情
     * @return
     */
    @RequestMapping("/agriecom/product")
    public String showProduct() {
        return "product";
    }
}
